﻿using System.Collections.Generic;
using System.Data;
using IDAL;
using Model;

namespace BLL
{
    public class AssembleDetails
    {
        private static readonly IAssembleDetails dal = DALFactory.DataAccess.CreateAssembleDetails();

        public IList<AssembleDetailsInfo> GetAssembleDetailsbySN(string productSN)
        {
            return dal.GetAssembleDetailsbySN(productSN);
        }

        public IList<AssembleDetailsInfo> GetAssembleDetailsbyIPMO(string mo, string ip)
        {
            return dal.GetAssembleDetailsbyIPMO(mo, ip);
        }
    }
}
